wiki:How to make a golden image for a mesh node
  1. Erase all partitions and layout new partitions using the start-deployimage.sh script. For this, make sure you set the variables properly as follows
    • VERIFY_ACTION=0
    • DISK_ACTION=1
    • COPY_ACTION=0
    • HD_PARTITION=1 (This will be ignored since COPY_ACTION=0)
    • BOOT_ACTION=0
    • NEXT_BOOT_PARTITION=1 (This will be ignored since BOOT_ACTION=0)
    • HALT_ACTION=1
  2. Install f9 using DVD ISO to any one of the partitions, say sda6. For this, boot from DVD, and mount / to /sda6. The partitions will use the common swap in /sda2, so no need to make another swap for sda6. Write changes to disk. It’ll prompt you - do you want to install /boot in /sda6. Say Yes and proceed.
  3. Create a user mesh and with the difficult password.
  4. Do the following:
    • /sbin/service iptables stop
    • /sbin/chkconfig iptables off
    • /sbin/service NetworkManager? stop
    • /sbin chkconfig NetworkManager? off
    • system-config-network - Activate eth0
    • System - Software Updates Never
    • System - Preferences - Personnel - Remove Package get update
    • /sbin/service network restart
  5. Modify grub.conf in boot/grub and fstab in etc to point to /dev/sda6 as / and /dev/sda2 as swap.
  6. do this:
    • /sbin/service iptables6 stop
    • /sbin/service iptables6 off
Last modified 4 years ago Last modified on Jan 5, 2012, 5:20:19 PM